Skip to main content

Delete Attachment

AutomatR.FreshDesk.Activities.DeleteAttachment

The "Delete Attachment" activity in AutomatR is part of the Freshdesk activities package, designed to delete an attachment specific to the attachment ID of any ticket within Freshdesk. This activity streamlines the process of managing attachments associated with tickets, providing flexibility and control over ticket-related files.

Properties

NameDescription
Input
Attachment IDSpecifies the attachment ID to be deleted. It is a required input, uniquely identifying the attachment to be removed from the ticket. String variables containing the attachment ID.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get All Agents" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.

How to use:

  1. Drag and drop the "Delete Attachment" activity onto the workflow.
  2. Configure the properties by specifying the attachment ID to be deleted.
  3. Optionally, configure the delay.
  4. Execute the workflow to delete the specified attachment associated with a ticket in Freshdesk.

Example: Consider an example where the "Delete Attachment" activity is used to remove a specific attachment identified by the attachment ID:

Delete Attachment:
Display Name: "Remove Invoice Attachment"
Attachment ID: "123456789"

In this example, the activity deletes the attachment associated with the attachment ID "123456789." The workflow ensures that the attachment is successfully removed from the ticket.